package com.bwie.service;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * @author 牛毅
 * @version 1.0
 * @date 2025/7/21
 * @description TODO
 */
@Service
public class MyserviceImpl implements MyService {

    @Async
    @Override
    public void sendMessage(String message) {
        System.out.println("发送信息"+message);
        throw new RuntimeException(message);
    }
}
